Links
dtSearch Text Retrieval Engine Programmer's Reference 7.70
IWordListBuilder::ListMatchingWords Method
IWordListBuilder Interface | IWordListBuilder Interface | Send Feedback

List all words in the index that match toMatch, using the specified searchFlags and fuzziness, up to nLimit words.

[id(8), helpstring("method ListMatchingWords")]
HRESULT ListMatchingWords([in] BSTR toMatch, [in] long nLimit, [in] long searchFlags, [in] long fuzziness, [out, retval] long * pVal);
Parameters
Parameters 
Description 
[in] BSTR toMatch 
Word to match (may contain wildcard expressions) 
[in] long nLimit 
Maximum number of words to include in the list 
[in] long searchFlags 
SearcjFlags values specifying features such as fuzzy searching or synonym searching to use in matching words 
[in] long fuzziness 
If dtsSearchFuzzy is set in searchFlags, the level of fuzziness to use 
Returns

Number of words listed

Description

Returns the number of words found

Remarks

ListMatchingWords finds words that match a particular search expression. ListWords, in contrast, lists a specified number of words before and after a particular word in the index.

Interface
Links
You are here: COM Interface > Interfaces > IWordListBuilder Interface > IWordListBuilder::ListMatchingWords Method
Copyright (c) 1995-2012 dtSearch Corp. All rights reserved.